<!DOCTYPE HTML>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg" style="background-color: white;">
	<br><br>
    <table  th:object="${hatchetAgent}" style="width: 70% ;">
    	<tr height="35" >
    		<td width="10%"></td>
    		<td width="40%" style="font-weight: bold;">账号：</td>
    		<td width="50%" th:text="${hatchetAgent.agentNo}" ></td>
    	</tr>
     	<tr height="35">
    		<td width="10%"></td>
    		<td style="font-weight: bold;">名称：</td>
    		<td th:text="${hatchetAgent.agentName}" ></td>
    	</tr>
    	 <tr height="35">
    		<td width="10%"></td>
    		<td style="font-weight: bold;">手机号：</td>
    		<td th:text="${hatchetAgent.corpPhone}" ></td>
    	</tr>
    	<tr height="35">
    		<td width="10%"></td>
    		<td style="font-weight: bold;">升级码数量：</td>
    		<td><span th:text="${hatchetAgent.fastCount}"></span>个</td>
    	</tr>  
    	<tr height="35">
    		<td width="10%"></td>
    		<td style="font-weight: bold;">总收益：</td>
    		<td ><span th:text="${hatchetAgent.sumMoney}"></span>元</td>
    	</tr>  
    	<tr height="35">
    		<td width="10%"></td>
    		<td style="font-weight: bold;">可提现金额：</td>
    		<td ><span th:text="${hatchetAgent.totalMoney}"></span>元</td>
    	</tr>  
    	<tr height="35">
    		<td width="10%"></td>
    		<td style="font-weight: bold;">当日收益：</td>
    		<td ><span th:text="${hatchetAgent.dayMoney}"></span>元</td>
    	</tr>  
    	<tr height="35">
    		<td width="10%"></td>
    		<td style="font-weight: bold;">用户总数：</td>
    		<td ><span th:text="${hatchetAgent.merchantCount}"></span>个</td>
    	</tr>  
    	<tr height="35">
    		<td width="10%"></td>
    		<td style="font-weight: bold;">总激活用户：</td>
    		<td ><span th:text="${hatchetAgent.activMerchantCount}"></span>个</td>
    	</tr>  
    	<tr height="35">
    		<td width="10%"></td>
    		<td style="font-weight: bold;">绑卡用户总数：</td>
    		<td ><span th:text="${hatchetAgent.bindCount}"></span>个</td>
    	</tr>  
    	<tr height="35">
    		<td width="10%"></td>
    		<td style="font-size: 16px">
    			<a  onclick="viewDetail()" id="viewBtn">  
				    显示详细
	   			</a>
    		</td>
    		<td ></td>
    	</tr>  
    	<tr></tr>
    </table>
    <div style="width: 70%;display: none;" id="infoDetail">
    	<table   style="width: 100%;" th:object="${hatchetAgent}" >
    		<tr height="35" class="sshide" id="infoDetail">
	    		<td width="10%"></td>
	    		<td width="40%" style="font-weight: bold;">创建人：</td>
	    		<td width="50%" th:text="${hatchetAgent.createUserId}" ></td>
	    	</tr>
	    	<tr height="35" class="sshide">
	    		<td ></td>
	    		<td  style="font-weight: bold;">创建时间：</td>
	    		<td th:text="${#dates.format(hatchetAgent.createTime, 'yyyy-MM-dd HH:mm:ss')}" ></td>
	    	</tr>
	    	<tr height="35" class="sshide">
	    		<td ></td>
	    		<td  style="font-weight: bold;">银行户名：</td>
	    		<td th:text="${hatchetAgent.accountName}" ></td>
	    	</tr>
	    	<tr height="35" class="sshide">
	    		<td ></td>
	    		<td  style="font-weight: bold;">银行账户：</td>
	    		<td th:text="${hatchetAgent.bankAccount}" ></td>
	    	</tr>
	    	<tr height="35" class="sshide">
	    		<td ></td>
	    		<td style="font-weight: bold;">开户银行：</td>
	    		<td  th:text="${hatchetAgent.issbankId}" ></td>
	    	</tr>
	    	<tr height="35" class="sshide">
	    		<td ></td>
	    		<td style="font-weight: bold;">开户行地址：</td>
	    		<td  th:text="${hatchetAgent.aDDRESS}" ></td>
	    	</tr>
	    	<tr></tr>
	    </table> 
    </div>

 
		
		
		<!-- <div id="infoDetail"  style="display: none">
			<label class="col-sm-3 control-label">创建人：</label>
			<div class="form-control-static"
				th:text="${hatchetAgent.createUserId}"></div>
			<label class="col-sm-3 control-label">创建时间：</label>
			<div class="form-control-static"
				th:text="${#dates.format(hatchetAgent.createTime, 'yyyy-MM-dd HH:mm:ss')}">
			</div>
			<label class="col-sm-3 control-label">银行账户名称：</label>
			<div class="form-control-static"
				th:text="${hatchetAgent.accountName}"></div>
			<label class="col-sm-3 control-label">银行账户：</label>
			<div class="form-control-static"
				th:text="${hatchetAgent.bankAccount}"></div>
			<label class="col-sm-3 control-label">开户银行：</label>
			<div class="form-control-static"
				th:text="${hatchetAgent.issbankId}"></div>
			<label class="col-sm-3 control-label">开户银行所在地：</label>
			<div class="form-control-static"
				th:text="${hatchetAgent.aDDRESS}"></div>
			<div class="form-group"></div>
		</div>
	</form>
    </div>  -->
    <div th:include="include :: footer"></div>
    <script type="text/javascript">
   	function viewDetail(){
    	 var divD = document.getElementById("infoDetail");
    	    if(divD.style.display=="none")
    	    {
    	        divD.style.display = "block";
    	        $('#viewBtn').text("隐藏详细");
    	    }
    	    else
    	    {
    	        divD.style.display = "none";
    	        $('#viewBtn').text("显示详细");
    	    }
    	}
    
	</script>
</body>
</html>